﻿namespace Xms.Abp.Components;

public class EnumColumn<TEnum> : Column<TEnum>
    where TEnum : Enum
{
    protected override async Task OnInitializedAsync()
    {
        await base.OnInitializedAsync();
        ChildContent = build =>
        {
            build.AddContent(0, Field.GetDisplayName());
        };
    }
}
